package com.xinyue.auto.reader;

import org.dom4j.Element;

public abstract class Process {
	protected final int entityType = 1;//entity类型
	protected final int manyType = 2;//many-many类型
	
	protected final int queryType = 1;//query查询类型
	protected final int hqlType = 2;//hql查询类型
	protected final int dyncType = 3;//dynamic查询类型
	
	//参数集
	protected ParamHolder holder = ParamHolder.getInstance();
	//XML Entity对象
	protected static Element xml;
	
	/**
	 * 读取XML信息
	 */
	public abstract void work() throws Exception;
}
